package cn.edu.zju.qsc.rouchseg.tools;

public class StrTool {
	public static String reverse(String str) {
		if (str == null) {
			return null;
		}
		StringBuilder newStr = new StringBuilder();
		for (int i = str.length()-1; i >= 0; i--) {
			newStr.append(str.charAt(i));
		}
		return newStr.toString();
	}
}
